package cn.tedu._06artivle.mapper;

import cn.tedu._06artivle.pojo.dto.UserLoginParam;
import cn.tedu._06artivle.pojo.entity.Article;
import cn.tedu._06artivle.pojo.entity.User;
import cn.tedu._06artivle.pojo.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
    UserVo selectUser(UserLoginParam userLoginParam);


    int insertArticle(Article article);

    Article selectByArticleId(Integer id);

    User selectUserById(Integer userId);
}
